package com.zhu.esyblog.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class CommentVo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private UserVo author;

    private String content;

    private List<CommentVo> childrens;

    private Long createDate;
    private Integer level;
    private UserVo toUser;

}
